<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>添加用户</title>
    <link rel="stylesheet" href="static/commons/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="static/css/public.css" media="all">
</head>
<body class="my-body">
<form class="layui-form" action="" id="user_add">
    <input type="text" name="userId" required  lay-verify="required" placeholder="请输入用户ID" autocomplete="off" class="layui-input user_id" style="display:none">
    <div class="layui-form-item">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-block">
            <input type="text" name="userName" required  lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input user_name">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户角色</label>
        <div class="layui-input-block">
            <select name="part" lay-verify="required" class="part">
                <option value=""></option>
                <option value="1">系统管理员</option>
                <option value="2">高管</option>
                <option value="3">普通员工</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-block">
            <input type="number" name="telephone" required  lay-verify="required" placeholder="请输入联系电话" autocomplete="off" class="layui-input telephone">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电子邮箱</label>
        <div class="layui-input-block">
            <input type="email" name="email" required  lay-verify="required" placeholder="请输入邮箱" autocomplete="off" class="layui-input email">
        </div>
    </div>
</form>
<script type="text/javascript" src="static/commons/layui/layui.js"></script>
<script type="text/javascript" src="static/js/user/user_add.js"></script>
</body>
</html>
